<?php
namespace app\admin\validate;

use think\Validate;

/**
 * 预约项目
 * Class Project
 * @package app\admin\validate
 */
class Project extends Validate
{
    protected $rule = [
        'cid'   => 'require',
        'title' => 'require'
    ];

    protected $message = [
        'cid.require'   => '请选择预约项目分类',
        'title.require' => '请输入预约名称',
    ];
}